package com.codemeta.bokit.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * mybatis扩展配置对象
 *
 * @author hice
 * @date 2021/11/19
 */
@Data
@ConfigurationProperties(prefix = "bokit.mybatis")
public class MybatisProps {

    /**
     * 扫描mapper包
     */
    private String basePackages = "com.codemeta.bokit";

    /**
     * 是否懒加载
     */
    private Boolean lazyInitialization = false;

}